import request from "@/utils/request";

export const orderInfoService=(params)=>{
    return request.get('/backend/order',{params:params});
}

export const updateInfoByIdService=(id,status)=>{
    const params = new URLSearchParams();
    params.append('id',id);
    params.append('status',status);
    return request.post('/backend/order',params);
}